package cn.yunyichina.provider.base.dao;

import cn.yunyichina.provider.base.entity.PersonalUserFamily;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;

import java.util.List;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2017-08-15 14:56:17
*/
@Repository
@MyBatisRepository
public interface PersonalUserFamilyDao extends BaseDao<cn.yunyichina.provider.base.entity.PersonalUserFamily>{
    List<PersonalUserFamily> selectFamilyByUserId(@Param("userId") String userId);
    List<PersonalUserFamily> selectByIdNoAndUserId(@Param("idCardNo") String idCardNo,@Param("userId") String userId);

}